<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="common_css :: commonHeader('凭证生成页面管理')"></head>
<body>
<!--搜索框-->
<form method="post" id="tabfrom">
    <div style="padding:2px" class="easyui-panel" title="数据查询">
        <table class="form-table">
            <tr>
                <td align="right" width="10%">基金名称：</td>
                <td>
                    <input id="accountId" style="width:350px" class="easyui-combotree" multiple="multiple"
                           cascadeCheck="false" data-options="prompt:'==请选择==',panelHeight:'auto'"/>
                </td>
            </tr>
        </table>
        <table class="form-table">
            <tr>
                <td align="right" width="10%">余额日期：</td>
                <td align="left"><input style="width:150px" class="easyui-datebox" id="selfdate" editable="false"
                                        value="true"
                                        data-options="required:false,showSeconds:false,panelHeight:'auto'">
                    <a class="easyui-linkbutton" iconCls='icon-search' onclick="doSearch();">查询</a></td>
            </tr>
        </table>
    </div>
    <br>
</form>
<div id="toolbar">
    <shiro:hasPermission name="schedule:logger:del">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cart"
           onclick="produceVoucher()">生成凭证</a>
    </shiro:hasPermission>
</div>


<form method="post" id="myform2">
    <div id="tt" class="easyui-tabs" style="width:90%;height:500px">

        <div title="基本业务凭证" style="padding:10px">
            <div id="dg1"></div>
        </div>

        <div title="交易业务凭证" style="padding:10px">
            <div id="dg2"></div>
        </div>

        <div title="权益业务凭证" style="padding:10px">
            <div id="dg3"></div>
        </div>

        <div title="结转业务凭证" style="padding:10px">
            <div id="dg4"></div>
        </div>
        <div title="估值增值凭证" style="padding:10px">
            <div id="dg5"></div>
        </div>
    </div>
</form>

<div th:include="common_js :: commJS"></div>
<script type="text/javascript"
        th:src="@{/js/finance/produceVoucher.js}"></script>
</body>
</html>